package com.itlong.cloud.POJO.VO.operate;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * <desc>
 *      获取用户角色菜单VO类
 * </desc>
 *
 * @createDate 2017/11/08
 */
@Data
@NoArgsConstructor
public class OperateGetRoleMenuVO implements Serializable{
    private String functionId;      //资源id
    private String path;            //资源url
    private String component;       //资源标识
    private String name;            //资源名称
    private String leaf;            //是否有下级
    private String iconCls;         //icon图标
    private String hidden;          //是否隐藏 false true
    private List<OperateGetRoleMenuVO> children; //下级节点

    private Integer orders;          //菜单排序


    public OperateGetRoleMenuVO(String functionId, String path, String component, String name, String leaf,
                                String iconCls, String hidden,Integer orders) {
        this.functionId = functionId;
        this.path = path;
        this.component = component;
        this.name = name;
        this.leaf = leaf;
        this.iconCls = iconCls;
        this.hidden = hidden;
        this.orders = orders;
    }
}
